box: Remove size_allocate_no_center
authorTimm Bäder <mail@baedert.org>
Fri, 29 Sep 2017 08:49:41 +0000 (10:49 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 29 Sep 2017 08:49:41 +0000 (10:49 +0200)
GtkBox never has a center widget these days.

gtk/gtkbox.c

index 45111edb5f55e0832d6daca3ac3f68de6530d56a..1929195b84f07943eeaa9d0859d5fd5cc15de69c 100644 (file)
@@ -369,10 +369,10 @@ get_spacing (GtkBox *box)
 }
 
 static void
-gtk_box_size_allocate_no_center (GtkWidget           *widget,
-                                 const GtkAllocation *allocation,
-                                 int                  baseline,
-                                 GdkRectangle        *out_clip)
+gtk_box_size_allocate (GtkWidget           *widget,
+                       const GtkAllocation *allocation,
+                       int                  baseline,
+                       GdkRectangle        *out_clip)
 {
   GtkBox *box = GTK_BOX (widget);
   GtkBoxPrivate *private = box->priv;
@@ -666,15 +666,6 @@ gtk_box_size_allocate_no_center (GtkWidget           *widget,
     }
 }
 
-static void
-gtk_box_size_allocate (GtkWidget           *widget,
-                       const GtkAllocation *allocation,
-                       int                  baseline,
-                       GtkAllocation       *out_clip)
-{
-  gtk_box_size_allocate_no_center (widget, allocation, baseline, out_clip);
-}
-
 static GType
 gtk_box_child_type (GtkContainer   *container)
 {